import http from "@/api/index";

export const login = (data) => {
    return http.get("/login", data);
}

export const getUserinfo = (data) => {
    return http.post("/getUserinfo",data);
}

export const getAdmin = (data) => {
    return http.get("/admin",data);
}